<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Designager {
	function lastdesign()
	{
		$query = $this->db->get('designs', 1);
		foreach($query->result() as $row) {
		return $row->image;
		}
	}

}

?>